package com.wd.tw.utils;

import java.util.Properties;

/**
 * @className: CommonUtils
 * @description: TODO 类描述
 * @author: liumingkun
 * @date: 2024/3/26
 **/
public class CommonUtils {


    public static boolean isOSLinux() {
        Properties prop = System.getProperties();
        String os = prop.getProperty("os.name");
        if (os != null && os.toLowerCase().indexOf("linux") > -1) {
            return true;
        } else {
            return false;
        }
    }
}
